package com.suxin.tomcat;

/**
 * @author Tang
 * @classname SocketWrapperBase
 * @description [  ]
 * @date 2021/7/5 14:08
 */
public abstract class SocketWrapperBase {

    protected SocketBufferHandler socketBufferHandler;

    public SocketWrapperBase() {
    }

    public abstract void registerReadInterest();

    public abstract void registerWriterInterest();

    public SocketBufferHandler getSocketBufferHandler() {
        return socketBufferHandler;
    }

    public void setSocketBufferHandler(SocketBufferHandler socketBufferHandler) {
        this.socketBufferHandler = socketBufferHandler;
    }
}